package com.example.yingjiguanli_demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author scj
 * @since 2024-11-04
 */
@Getter
@Setter
public class Rankings implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 排名ID
     */
    @TableId(value = "ranking_id", type = IdType.AUTO)
    private Integer rankingId;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 分数
     */
    private Integer score;

    /**
     * 排名时间
     */
    private LocalDateTime rankedAt;
    /**
     * 科目ID
     */
    private Integer subjectId;
}
